<?php
date_default_timezone_set('Asia/Shanghai');

define('APPLICATION_PATH', dirname(__FILE__) . '/../');
define('APP_PATH', dirname(__FILE__) . '/../');

//正式环境的时候，将develop换成product读取product节点的配置
$application = new Yaf_Application(APPLICATION_PATH . "conf/application.ini", 'develop');
$application->bootstrap()->run();
?>